home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 1999 August / PCpro_1999_08.ISO / compusrv / Bonus / Internet Explorer 5.0 (Microsoft) / rtcchat.cab / RTCChat.inf next >
Encoding:
Windows Setup INFormation  |  1999-02-25  |  4.3 KB  |  123 lines

  1. ; This inf file controls the user's installation of your Java
  2. ; classes. It is provided as a template; make a copy and modify the copy.
  3. ; This file is separated into sections; be sure to make the 
  4. ; necessary changes in each one.
  5. ; See the SDK for Java documentation (under Tools) for information on
  6. ; using this file with the cabarc.exe utility to distribute Java classes.  
  7.  
  8. [hook1]
  9. ; In this line, replace CabFileName.cab with the inner CAB file name
  10. ; that contains your classes.  
  11. ;now replaced with native file copy via OtherFiles below
  12. ; uncommented line below DEW 25.02.1999
  13. run=xcopy /Q /R RTCChat.zip %49000%
  14.  
  15. [hook2]
  16. ; Change the name of master.inf to the name you are assigning this
  17. ; file. Leave the second line alone.
  18. InfFile=RTCChat.inf
  19. InfSection=RTCInstall
  20.  
  21. [Strings]
  22. ; Running guidgen in the SDK generates the ClassId you need to fill 
  23. ; in here. This classId also goes in the OBJECT tag.
  24. ; Don't forget the set braces!
  25. ClassId="{50F65670-1729-11d2-A51F-0020AFE5D502}"
  26.  
  27. ; Put the name by which your packages should be referred to 
  28. ; (i.e. "Bob's Text Viewer") here.
  29. PackageName="ForumChat"
  30.  
  31. [AddRegSection]
  32. ; Leave this line.
  33. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%",,,"%PackageName%"
  34.  
  35. ; Replace <aa...> with the version number (like 1,0,0,1) of this
  36. ; version of your library. This is so that when you want to update
  37. ; your libraries, you can change the version rather then the classId
  38. ; and the problems that go with that. If the version number here
  39. ; and in the OBJECT tag match the version already stored on the
  40. ; user's machine, it will not download the classes again, which
  41. ; also saves time and energy.
  42. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InstalledVersion",,,"1,1,0,54"
  43.  
  44. ; Here, replace <filename> with the name of one of the class files in
  45. ; your package, including the virtual path (specified in classpck.ddf)
  46. ; to that file. This will make sure that the classes exist on the
  47. ; user's system; if they don't, they will be downloaded, regardless
  48. ; of version numbers.
  49. HKLM,"Software\Classes\CLSID\%ClassId%\InstalledVersion","Path",,"%49000%\RTCChat.zip"
  50.  
  51. ; Leave these keys alone.
  52. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32",,,"%11%\MSJAVA.DLL"
  53. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","NoJavaClass",,""
  54. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","ThreadingModel",,"Both"
  55.  
  56. ; Under most circumstances, you should leave the next two keys alone.
  57. ; Only change them if
  58. ; 1) You have not expanded the classes into their subdirectories on
  59. ; the user's machine, but have instead stored them in an uncompressed
  60. ; .ZIP file; in that case, change the appropriate value
  61. ; to "%49000%\<ZipFileName>".
  62. ;
  63. ; 2) You have decided to install the files onto another, hard-coded
  64. ; directory of your choice. This is not recommended, for you will
  65. ; clutter up the user's directories and have to make other changes.
  66. ; If you do so, though, change the appropriate value to the absolute
  67. ; pathname to that directory, and change it in the run= line above.
  68. ;
  69. ; If you use one of these, you will use exactly one.
  70. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","Lib",,"%49000%\RTCChat.zip"
  71. ;HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","TrustLib",,"%49000%\RTCChat.zip"
  72.  
  73. [DestinationDirs]
  74. DefaultDestDir=10,Java\Lib
  75.  
  76. [DelOldFiles]
  77. RTCChat2.old,,,1
  78. RTCChat.old,,,1
  79.  
  80. [RenOldFiles]
  81. RTCChat2.old,RTCChat.old
  82. RTCChat.old,RTCChat.zip
  83.  
  84. [OtherFiles]
  85. RTCChat.zip,,,32
  86.  
  87. [SourceDisksFiles]
  88. RTCChat.zip=1
  89. RTCChat.old=1
  90. RTCChat2.old=1
  91.  
  92. [SourceDisksNames]
  93. 1=%PackageName%,"",0
  94.  
  95. [PackageDestination49000]
  96. ; This value should only change if you have decided to place your
  97. ; classes in the TrustedClasspath. In that case, you
  98. ; will change "LibsDirectory" to "TrustedLibsDirectory".
  99. "HKLM","Software\Microsoft\Java VM","LibsDirectory","",""
  100.  
  101. [Version]
  102. signature="$CHICAGO$"
  103. AdvancedINF=2.0
  104.  
  105. [MyCustomDestination]
  106. 49000=PackageDestination49000,23
  107.  
  108. [Setup Hooks]                
  109. hook1=hook1
  110. hook2=hook2
  111.  
  112. [DefaultInstall]
  113. CustomDestination=MyCustomDestination
  114. AddReg=AddRegSection
  115.  
  116. [RTCInstall]
  117. ; DelFiles & RenFiles here function OK but pointless because
  118. ; rename fails (in unfriendly way) when IE is using old version.
  119. ;DelFiles=DelOldFiles
  120. ;RenFiles=RenOldFiles
  121. CopyFiles=OtherFiles
  122. ;DelFiles=DelOldFiles
  123.